<?php

include_once 'Conexion.php';

class Cliente extends Conexion {
    
    public function obtenerNombreClientes() {
        $this->conectar();

        $sql = "SELECT idcliente, nombre FROM cliente, razonsocial WHERE cliente.idrazonsocial=razonsocial.idrazonsocial";

        $sqlResult = $this->ejecutarConsulta($sql);

        $this->desconectar();

        return $sqlResult;
    }    
}
?>